-- GENERATED SPELL FOR [Zanzil Hunter] --


function spell0_1489(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1489', 500, 1)
end

function Sorts_1489(pUnit, Event)
local choix_sorts_1489 = math.random(0, 0)
if choix_sorts_1489 == 0 then
pUnit:RegisterEvent('spell0_1489', 1, 1)
end
end

function mob1489_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1489', math.random(1500, 3000), 1)
end

function mob1489_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1489_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1489_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1489, 1, 'mob1489_Action')
RegisterUnitEvent(1489, 2, 'mob1489_Leave')
RegisterUnitEvent(1489, 3, 'mob1489_Kill')
RegisterUnitEvent(1489, 4, 'mob1489_Die')
